﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Domain.EquipmentProcessDomain
{
    public interface IPlanarMessageServiceFactory : IDomainService
    {
        /// <summary>
        /// 创建平面设备状态报文业务服务，按平面设备状态报文类型创建，服务名称：objectType+MessageService
        /// </summary>
        /// <param name="objectType"></param>
        /// <returns>平面状态报文服务对象</returns>
        IPlanarStateMessageService CreateStateService(string objectType);
        /// <summary>
        /// 创建平面设备动作报文业务服务，按平面设备Plc动作报文类型创建，服务名称：objectType+MessageService
        /// </summary>
        /// <param name="objectType"></param>
        /// <returns>平面动作报文服务对象</returns>
        IPlanarActionMessageService CreateActionService(string objectType);

    }
}
